Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Handle ro /boot #116

Closed
wants to merge 1 commit into from
Closed

Conversation

cgwalters
Copy link
Member

No description provided.

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member

@kelvinfan001 kelvinfan001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we would also need to ensure_writable_efi() since we want to mount /boot/efi as read-only as well right? This should probably be done in efi.rs? Also, we'd need to tweak the kola tests a little bit so e.g.

echo "some additions" >> ${bootefidir}/${efisubdir}/shimx64.efi
would work. Mind if I just create another PR to do the above?

}
let status = std::process::Command::new("mount")
.args(&["-o", "remount,rw"])
.arg(p.as_os_str())
Copy link
Member

@kelvinfan001 kelvinfan001 Dec 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can directly pass p here without as_os_str() since Path implements the AsRef<OsStr> trait right?

@kelvinfan001 kelvinfan001 mentioned this pull request Dec 1, 2020
@cgwalters
Copy link
Member Author

Moving to #118

@cgwalters cgwalters closed this Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants